﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SpaceAdventureLib.Universe.Units;

namespace SpaceAdventureLib.Universe.Weapons
{
    public class Gun : Weapon
    {

        #region "Properties"


        #endregion

        #region "Constructors"

        public Gun(Fighter fighter)
            : base(fighter)
        {

            //this.fighter = fighter;

            this.AmmoGenRate = 4;
            this.UnlimitedAmmo = true;
        }

        #endregion

        #region "Methods"

        public override void FinaliseInitialization()
        {
            // do nothing
        }
        
        protected override Ammo GenerateAmmo()
        {
            return (new Bullet(this));
        }

        #endregion

    }
}
